<!--{subtemplate jameson_read:touch/header}-->
<div class="header">
  <div class="weui-flex">
    <div class="weui-flex__item header_left" onclick="javascript:history.go(-1);">
      <i class="fa fa-chevron-left"></i>
    </div>
    <div class="weui-flex__item header_title">
    <!--{lang jameson_read:biaoqian}-->
    <!--{if $tag}-->[{$tag}]{/if}
    </div>
    <div class="weui-flex__item header_right flex-2">
      <a href="{eval echo mbreurl('search',0);}">
        <i class="fa fa-search"></i>
      </a>
      <a href="javascript:;" class="open-popup" data-target="#bottomtab">
        <i class="fa fa-fw fa-bars"></i>
      </a>
    </div>
  </div>
</div>

<div class="weui-panel weui-panel_access">
  <!--{if !$tag && ($_G['jameson_read']['shuxing'] || $hottag)}-->
    <div class="weui-panel__hd noafter weui-media-box__title">
    <!--{lang jameson_read:remenbiaoqian}-->
    </div>
    <div class="weui-panel__bd btn-no-bor text-justify mb15">
        <!--{loop $_G['jameson_read']['shuxing']  $word}-->
        <a class=" weui-btn_default weui-btn_mini" href="./plugin.php?id=jameson_read&contrl=touch&act=tag&tag={$word}">
            <!--{$word}-->
        </a>
        <!--{/loop}-->
        <!--{loop $hottag  $word}-->
        <a class=" weui-btn_default weui-btn_mini" href="./plugin.php?id=jameson_read&contrl=touch&act=tag&tag={$word['tag']}">
            <!--{$word['tag']}-->
        </a>
        <!--{/loop}-->
    </div>
  <!--{/if}-->
  <!--{if $books}-->
  <div class="weui-panel__hd noafter weui-media-box__title">
    {lang jameson_read:biaoqian}{lang jameson_read:baohan} 
    <strong class="rq"> [{$tag}] </strong>
    {lang jameson_read:dejilu}
    <strong class="rq">{$counts}</strong>
    {lang jameson_read:tiao}
  </div>
  <div class="weui-panel__bd">
  <!--{loop $books $key $book}-->
      <a href="{eval echo mbreurl('book',$book['book_id']);}" class="weui-media-box weui-media-box_appmsg">
        <div class="weui-media-box__hd">
          <img class="weui-media-box__thumb" src="{if $book['image'] && preg_match('/^http|\/\//i',$book['image'])}{$book['image']}{elseif $book['image']}./data/attachment/forum/{$book['image']}{else}{$_G['jameson_read']['morenfengmian']}{/if}">
        </div>
        <div class="weui-media-box__bd">
          <h4 class="weui-media-box__title">
          <!--{$book['book_name']}-->
          </h4>
          <p class="weui-media-box__desc">
          <!--{$book['desco']}-->
          </p>
          <p class="weui-media-box__desc cl listmeta"> 
            <span class="z">
            <!--{$book['author']}-->
            </span>
            <span  class="y">
            <!--{$book['category_name']}-->
            </span>
          </p>
        </div>
      </a>
    <!--{/loop}-->
    </div>
  <!--{/if}-->
    <div class="weui-panel__ft">
          <div class="weui-cell__bd">
            <div class="weui-flex">
              <!--{if $books}-->
              <!--{$pageshow}-->
              <!--{elseif $tag}-->
              <h2 class="weui-cells__title">
              <!--{lang jameson_read:zanwujilu}-->
              </h2>
              <!--{/if}-->
            </div>
          </div>
          <span class="weui-cell__ft"></span>
    </div>
</div>


<!--{if $indexadv[0]['adv']}-->
<div class="weui-panel weui-media-box zdyadv">
  <div class="weui-panel__bd">
    <!--{eval echo stripcslashes($indexadv[0]['adv']);}-->
  </div>
</div>
<!--{/if}-->
<!--{subtemplate jameson_read:touch/footer}-->